import { ActivatedRoute } from '@angular/router';
import { ProcessService } from 'src/app/@core/services/process/process.service';
import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-technology-route-view',
  templateUrl: './technology-route-view.component.html',
  styleUrls: ['./technology-route-view.component.scss']
})
export class TechnologyRouteViewComponent {
  nodes: any[] = [];
  @Input() data: any;
  constructor(private ProcessService:ProcessService) { }
  ngOnInit(): void {
    this.ProcessService.GetTechnologyRouteById(this.data).subscribe((res:any)=>{
      this.nodes = res.processDetails

    })
  }
}
